projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ef316
)
GtkPathBar: Add a style class
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Jul 2014 10:48:36 +0000
(06:48 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Jul 2014 10:48:36 +0000
(06:48 -0400)
This will allow nautilus to reuse the style on its own
pathbar widget.
gtk/gtkpathbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkpathbar.c
b/gtk/gtkpathbar.c
index adb9a8f6fa42710965bb44a04a5d57d703d94d09..ec1f5ed74c26dce086f38ff62372b8c94bcc3dd3 100644
(file)
--- a/
gtk/gtkpathbar.c
+++ b/
gtk/gtkpathbar.c
@@
-202,6
+202,7
@@
gtk_path_bar_init (GtkPathBar *path_bar)
gtk_widget_set_redraw_on_allocate (GTK_WIDGET (path_bar), FALSE);
context = gtk_widget_get_style_context (GTK_WIDGET (path_bar));
+ gtk_style_context_add_class (context, "path-bar");
gtk_style_context_add_class (context, GTK_STYLE_CLASS_LINKED);
path_bar->priv->get_info_cancellable = NULL;